﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="randomImageCtl.ascx.cs" Inherits="randomImageCtl" %>

<%--<asp:ScriptManager ID="smRandomControl" runat="server">
</asp:ScriptManager>--%>

<asp:UpdatePanel ID="pnlAll" runat="server">
<ContentTemplate>


<asp:Panel ID="pnlNew" runat="server" Width="120px">

<img alt="Random image" title="Random image" src='<%# getImageUrl () %>'  style="width:120px;height:50px;"/>
<div style="clear:both;font-size:1px;"></div>
<div style="float:left;width:64px; height:1px; font-size:1px;"></div>
<asp:LinkButton ID="lnkChange" runat="server" CausesValidation="false" 
        onclick="lnkChange_Click">Change</asp:LinkButton>
<div style="clear:both;font-size:1px;"></div>
<asp:TextBox ID="txtValue" runat="server" Width="120px"></asp:TextBox>
    


</asp:Panel>

</ContentTemplate>
</asp:UpdatePanel>